.TreeWrap {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

.Tree {
    list-style: none;
    min-width: 100%;
    margin: 0;
    padding: 0;
    font: 12px 'Microsoft YaHei';
    line-height: 18px;
    float: left;
    --icon-plus: url();
    --icon-minus: url();
    --icon-node: url();
    --folder-open: url();
    --folder-close: url();
    overflow: auto;
}

.Tree .node {
    background: #fff;
    box-sizing: content-box;
    word-break: keep-all;
    white-space: nowrap;
}

.Tree .node.selected {
    background: #34495e;
}

.Tree .node.drag {
    border: 1px dashed #999;
}

.Tree .node.dragTop {
    border-top: 1px dashed #999;
}

.Tree .node.dragBottom {
    border-bottom: 1px dashed #999;
}

.Tree .node>i {
    display: inline-block;
    vertical-align: middle;
}

.Tree .node>i.expand {
    width: 9px;
    height: 9px;
    cursor: pointer;
}

.Tree .node>i.expand.plus {
    background: var(--icon-plus);
}

.Tree .node>i.expand.minus {
    background: var(--icon-minus);
}

.Tree .node>i.type {
    margin-left: 4px;
    cursor: pointer;
    pointer-events: none;
}

.Tree .node>i.type.leaf {
    width: 14px;
    height: 15px;
    margin-right: 2px;
    background: var(--icon-node);
}

.Tree .node>i.type.open {
    width: 16px;
    height: 13px;
    background: var(--folder-open);
}

.Tree .node>i.type.close {
    width: 15px;
    height: 13px;
    margin-right: 1px;
    background: var(--folder-close);
}

.Tree .node>.CheckBox {
    margin: 2px -2px 2px 4px;
    vertical-align: middle;
}

.Tree .node>a {
    max-width: calc(100% - 80px);
    color: #555;
    margin-left: 4px;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    pointer-events: none;
    overflow: hidden;
}

.Tree .node.selected>a {
    color: #fff;
}

.Tree .node>i.control {
    font-size: 16px;
    color: #555;
    margin-left: 4px;
    cursor: pointer;
}

.Tree .node.selected>i.control {
    color: #fff;
}

.Tree .node>.sub {
    margin: 0;
    padding: 0 0 0 16px;
    background: #fff;
    list-style: none;
    transition: all 0.2s;
    overflow-y: auto;
}

.Tree .node>.sub.collpase {
    height: 0 !important;
    overflow-y: hidden;
}